package allen.ui.help;

import javax.swing.JFrame;

public class HelpFrame extends JFrame {

	private static final long serialVersionUID = 1L;

	public static HelpFrame helpFrame = new HelpFrame();

	private HelpPanel helpPanel;

	private HelpFrame() {
		this.setSize(HelpConstant.HelpWidth, HelpConstant.HelpHeigh);
		this.setTitle(HelpConstant.Title);
		this.setVisible(false);
	}

	public void init(String helpFilePath) {
		helpPanel = new HelpPanel(helpFilePath);
		this.getContentPane().add(helpPanel);
	}

}